package com.dwxt.community.service.feign;

import com.dwxt.common.base.*;
import org.springframework.cloud.openfeign.*;
import org.springframework.web.bind.annotation.*;

import java.util.*;

@FeignClient("pay")
public interface PayService {

    @RequestMapping("/pay/zfb")
    public BaseResult getAliPayInfo(@RequestBody Map<String,String> params);
    @RequestMapping("/pay/zfb/query")
    public BaseResult getZfbPayStatus(@RequestParam("orderId")String orderId);


    @RequestMapping("/pay/wx")
    public BaseResult getWxPayInfo(@RequestBody Map<String,String> params);
    @GetMapping("/pay/wx/query")
    public BaseResult getWxPayStatus(@RequestParam("orderId") String orderId);
}
